@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/shuheng/chart/problemSearch.js?v=5"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">问题检索</span>
</div>

<div class="layui-fluid">
    <div class="layui-row">
        <div class="layui-col-sm12 layui-col-md3 layui-col-lg2">
            <div class="layui-card">
                <div class="layui-card-body mini-bar">
                    <div class="ztree" id="jobTree"></div>
                </div>
            </div>
        </div>
        <input type="hidden" name="userLevel" id="userLevel" value="${userLevel}">
        <div class="layui-col-sm12 layui-col-md9 layui-col-lg10">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <select name="year" id="year" lay-filter="year">
                                    @for(item in yearList){
                                    <option value="${item}">${item}年</option>
                                    @}
                                </select>
                            </div>
                            <!--<div class="layui-inline">-->
                                <!--<select name="quarter" id="quarter" lay-filter="quarter">-->

                                <!--</select>-->
                            <!--</div>-->
                            <div class="layui-inline">
                                <div class="" id="month"></div>
                            </div>
                            <div class="layui-inline">
                                <select name="data" id="data" lay-filter="data">

                                </select>
                            </div>
                            <div class="layui-inline">
                                <input name="dataName" class="layui-input" id="dataName" placeholder="请输入资料名称"/>
                            </div>
                            @if(userLevel==1){
                            <div class="layui-inline">
                                <input type="radio" name="problemType" value="2" lay-filter="problemType" title="市问题" checked="">
                                <input type="radio" name="problemType" value="3" lay-filter="problemType" title="区县问题">
                            </div>
                            <div class="layui-inline city">
                                <select name="city" id="city" lay-filter="city">
                                    <option value="">请选择市</option>
                                </select>
                            </div>
                            @}
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                            </div>
                            <div class="layui-inline">
<!--                                <button id="exportExcel" class="layui-btn layui-btn-warm icon-btn">导出excel</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="problemTable" lay-filter="problemTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="viewFileTpl">
    <a style="color:#1E9FFF; cursor: pointer;" lay-event="viewFile">{{d.file_name}}</a>
</script>
@}